<!DOCTYPE html >
<html>
<head>
<meta name="Generator" content="tpshop" />
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>第七感觉百货-门店信息</title>
<link rel="stylesheet" href="__STATIC__/css/weui/weui.min.css">
<style>
.weui-cell__bd p.bt1{font-size:13px;}
.weui-cell__bd p.bt2{font-size:12px;color:#999;}
a{color:#333;}
</style>
<body>
	<div class="weui-cells">
    
	</div>

</body>
</html>
<script type="text/javascript" src="__STATIC__/js/jquery.js"></script>
<script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
<script>
wx.config({
    debug: false,
    appId: "{$signPackage['appId']}", 
    timestamp: '{$signPackage["timestamp"]}', 
    nonceStr: '{$signPackage["nonceStr"]}', 
    signature: '{$signPackage["signature"]}',
    jsApiList: ['onMenuShareTimeline', 'onMenuShareAppMessage','onMenuShareQQ','onMenuShareQZone','hideOptionMenu','addCard','getLocation'] 
});
wx.ready(function () {
    wx.getLocation({
      success: function (res) {
      	var obj=res;
      	var nowlocat=obj.latitude+','+obj.longitude;
           $.post('{:U("Index/shoplist")}',{nowlocat:nowlocat},function(htmlstr){
            $('.weui-cells').html(htmlstr);
           })
          
      },
      cancel: function (res) {
        alert('用户拒绝授权获取地理位置');
      }
    });
  });

</script>